package cn.xinfei.xdecision.common.model.component.scriptrule;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.util.HashMap;
import java.util.Map;

@Getter
@Setter
@ToString
@NoArgsConstructor
public class RuleMixExpressionCheckResult {
    private Integer rowId;
    private String message;
    private String hitResult;
    private Integer ruleScore;
    private Map updateInputMap = new HashMap<>();

    public RuleMixExpressionCheckResult(
            Integer rowId,
            String hitResult,
            Integer ruleScore,
            Map updateInputMap,
            String message) {
        this.rowId = rowId;
        this.hitResult = hitResult;
        this.ruleScore = ruleScore;
        this.updateInputMap = updateInputMap;
        this.message = message;
    }
}
